using System;
using System.IO;

namespace CheckoutCodeKata
{
    public class Display
    {
        private readonly TextWriter _textWriter;

        public Display(TextWriter textWriter)
        {
            _textWriter = textWriter;
        }

        public void Show(int price)
        {
            _textWriter.Write(price);
        }
    }
}